angular.module('demoApp', [])
  .controller('Ctrl', function($scope) {
    $scope.title = "customer list";
    $scope.customers = [
    { name: 'Tom', address: '1600 Amphitheatre' },
    { name: 'Jerry', address: '123 Somewhere' }
    ];
  })
  .directive('eveCustomer', function() {
    return {
      restrict: 'AE',
      transclude: true,
      scope: {
        customers: '=customers'
      },
      templateUrl: 'customer.tpl.html'
    };
  });
